import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
	flag: false,
	index: '/',
  },
  mutations: {
	activeIndex(state,flag) {
		state.index = flag
	},
	edit(state,flag){
		state.flag = flag
	},
  },
  actions: {
  },
  modules: {
  }
})
